package com.taxi.management.service;

import com.taxi.management.entity.DriverDetailEntity;
import java.util.List;

public interface DriverDetailService {
    // 插入司机详情
    int insert(DriverDetailEntity entity);
    
    // 根据ID删除司机详情
    int deleteById(Integer driverId);
    
    // 更新司机详情
    int update(DriverDetailEntity entity);
    
    // 根据ID查询司机详情
    DriverDetailEntity selectById(Integer driverId);
    
    // 查询所有司机详情
    List<DriverDetailEntity> selectAll();
    
    // 分页查询司机详情
    List<DriverDetailEntity> selectByPage(String  username, int start, int limit);
    
    // 查询总数
    int getTotalCount();
}
